From 53747cf558bb490c8d15da2e833510f08582270b Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 7 May 2003 13:58:37 +0000 Subject: [PATCH] Revert last change. Alex says 4.06 firmware fixed that. --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index ff2f6f085..9b89ace7b 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1181,7 +1181,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->position.altitude.altitude_meters == unknown_alt ? -- 2.30.2